<% include ../header.ejs %>

<header data-am-widget="header" data-am-sticky class="am-header am-header-default" id="appTemplates-Nav">
    <div class="am-header-left am-header-nav">
        <a href='index'>
            <img class="am-header-icon-custom" src="data:image/svg+xml;charset&#x3D;utf-8,&lt;svg xmlns&#x3D;&quot;http://www.w3.org/2000/svg&quot; viewBox&#x3D;&quot;0 0 12 20&quot;&gt;&lt;path d&#x3D;&quot;M10,0l2,2l-8,8l8,8l-2,2L0,10L10,0z&quot; fill&#x3D;&quot;%23fff&quot;/&gt;&lt;/svg&gt;" alt=""/>
        </a>
    </div>

    <h1 class="am-header-title">
        <a id="Typeface-whitecolor">文档管理</a>
    </h1>

    <div class="am-header-right am-header-nav">
        <a href="javascript:$('form[name=deleteForm]').submit();">删除</a>
    </div>

</header>
<div class="am-container">
    <div data-am-widget="list_news" class="am-list-news am-list-news-default" >
        <div class="am-list-news-bd">
            <form class="am-form" name="deleteForm" action="delete" method="post">
                <fieldset>
                <ul class="am-list">
                <%list.forEach(function (item, index) {%>
                    <li class="am-g am-list-item-desced">
                        <div class="am-list-main">
                            <div class="am-list-item-hd am-g am-div-margin">
                                <div class="am-u-sm-11 am-list-item-hd am-text-truncate am-text-secondary am-padding-right-sm"><i class="am-icon-file-text-o am-margin-right-sm"></i><%=item.attachmentName||''%></div>
                                <div class="am-u-sm-1 am-text-truncate am-list-item-hd am-text-sm">
                                    <input name="rowIds" type="checkbox" value="<%=item.rowId%>">
                                </div>
                            </div>
                        </div>
                    </li>
                <%});%>
                </ul>
             </fieldset>
            </form>
        </div>
    </div>
</div>
<% include ../footer.ejs %>